package com.xiaojf.xlog.annotation;

import com.xiaojf.xlog.LogSystemSelector;
import org.springframework.context.annotation.Import;
import org.springframework.scheduling.annotation.EnableAsync;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 启用日志系统
 *
 * @author Ade.Xiao 2021/3/10 18:19
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Import({LogSystemSelector.class})
@EnableAsync
public @interface EnableLogSystem {
}
